package com.changpei.search.config;

import org.springframework.context.annotation.Configuration;

import javax.annotation.PostConstruct;

/**
 * 解决jar包冲突
 *
 * @author Way on 2021/9/5
 */
@Configuration
public class ElasticsearchConfiguration {

    @PostConstruct
    public void init() {
        System.setProperty("es.set.netty.runtime.available.processors", "false");
    }
}
